package command_pattern;

import lombok.Data;
import lombok.extern.slf4j.Slf4j; @Slf4j @Slf4j

/**
 * Created by jingbin on 2016/10/31.
 * 电灯
 */

@Data
@Slf4j
public class Light {

    public void on() {log.info("Light:", "---打开灯");
    }

    public void off() {
        log.info("Light:", "---关闭灯");
    }


}
